import subprocess
if __name__ == '__main__':
    subprocess.run("python train.py \
        --saved_model=saved/SanWen/Sanwen_model.pkl \
        --saved_data=saved/SanWen/sanwen.pkl \
        --tensorboard_logdir=saved/SanWen/event_log_date \
        --dataset=SanWen \
        --train_file=train.txt \
        --dev_file=test.txt \
        --test_file=test.txt \
        --relation2id=rel2id.txt \
        --gaz_emb=./lexicon/ctb.50d.vec \
        --bichar_emb=./lexicon/gigaword_chn.all.a2b.bi.ite50.vec \
        --char_emb=./lexicon/gigaword_chn.all.a2b.uni.ite50.vec \
        --epochs=50 \
        --batch_size=64 \
        --optimizer=AdamW \
        --learning_rate=5e-5 \
        --warmup_ratio=0.1 \
        --warmup_type=linear \
        --fuse_type=attention")